import 'package:cms/models/single.dart';

class PostDetailsState {
  SingleModel? postDetails;
  bool isLoading = false;
  PostDetailsState({this.postDetails, this.isLoading = false});
  PostDetailsState init() {
    return PostDetailsState();
  }

  PostDetailsState clone() {
    return PostDetailsState();
  }

  PostDetailsState copyWith({SingleModel? postDetails, bool? isLoading}) {
    return PostDetailsState(
      postDetails: postDetails ?? this.postDetails,
      isLoading: isLoading ?? this.isLoading,
    );
  }
}
